package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.domain.Reservation;
import com.zzyl.nursing.dto.ReservationMemberDto;
import com.zzyl.nursing.vo.ReservationMemberVo;

import java.util.List;

public interface IReservationMemberService extends IService<Reservation> {
    String cancelReservation(Long id);

    /**
     * 查询预约登记列表
     *
     * @param reservation 预约登记
     * @return 预约登记集合
     */
    public List<Reservation> selectReservationList(Reservation reservation);

    Long selectReservationList();

    List<ReservationMemberVo> countByTime(long time);

    String addReservationMember(ReservationMemberDto reservationMemberDto);
}
